<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
      <div class="col-lg-12">
        <section class="panel" id="printbox">
          <header class="panel-heading" style="text-align: center;">
            付款申请单
          </header>
          <div class="panel-body">
            <table class="table table-bordered">
              <tbody>
                <tr>
                  <td style="text-align:center;">项目名称</td>
                  <td>{{expenditureEntity.projName}}</td>
                  <td style="text-align:center;">日期</td>
                  <td>{{expenditureEntity.createTime | date:'yyyy-MM-dd'}}</td>
                </tr>
                <tr>
                  <td style="text-align:center;">付款方式</td>
                  <td colspan="3">
                    {{expenditureEntity.paymentMethodName}}
                  </td>
                </tr>
                <tr>
                  <td rowspan="4" colspan="2" style="text-align:left;vertical-align: top;">支付内容：{{expenditureEntity.payContent}}</td>
                  <td style="text-align:center;">客户/供应商</td>
                  <td>{{expenditureEntity.customName}}</td>
                </tr>
                <tr>
                  <td style="text-align:center;">付款账户</td>
                  <td>{{expenditureEntity.paymentAccount}}</td>
                </tr>
                <tr>
                  <td style="text-align:center;">付款银行</td>
                  <td>{{expenditureEntity.paymentBank}}</td>
                </tr>
                <tr>
                  <td colspan="2">
                    <ul class="mlbox">
                      <li>申请金额(小写)：{{expenditureEntity.paymentAmount}}</li>
                      <li>人民币：{{rmb}}</li>
                    </ul>
                  </td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <td colspan="4">备注：金额不得涂改(金额大写 零 壹 贰 叁 肆 伍 陆 柒 捌 玖 拾)</td>
                </tr>
                <tr>
                  <td colspan="4">
                    <ul class="tlbox">
                      <li>
                        核准：
                      </li>
                      <li>
                        财务审核：
                      </li>
                      <li>
                        部门主管：
                      </li>
                      <li>
                        申请人：
                      </li>
                    </ul>
                  </td>
                </tr>
              </tfoot>
            </table>
          </div>
        </section>

        <section class="panel">
          <div class="panel-heading">
            审批记录
          </div>
          <div class="panel-body">
            <ul class="tp-ulst">
              <li>
                <span>人员姓名      </span><span>修改时间</span><span>处理结果</span>
              </li>
              <div ng-repeat="ss in processs">
                <li>
                  <span>{{ss.USER}}</span><span>{{ss.time | date:'yyyy-MM-dd hh:mm'}}</span><span>{{getsssbbb(ss.lastStatus)}}，{{ss.msg}}</span>
                </li>
              </div>
            </ul>
          </div>
        </section>

        <section class="panel">
          <div class="panel-body">
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="window.history.back()">确认</a>
            </p>
          </div>
        </section>

      </div>
    </div>
  </section>
</section>
<!-- 打印组件 -->
<script type="text/javascript" src="assets/print/jquery.jqprint-0.3.js"></script>

<!-- 导出word组件 -->
<script type="text/javascript" src="assets/html2word/FileSaver.js"></script>
<script type="text/javascript" src="assets/html2word/jquery.wordexport.js"></script>

<script>
  $(function () {
    //打印初始化
    $("#print").click(function () {
      $(".ptop-list").hide();
      $("#printbox").show();
      $("#printbox").jqprint();
    })
    //导出word
    $("#word").click(function () {
      $(".ptop-list").hide();
      $("#printbox").show();
      $("#printbox").wordExport();
    })
  })
</script>